<template>
  <view>
    <rich-text :nodes="text"></rich-text>
  </view>
</template>

<script>
export default {
  data() {
    return {
      text: ''
    };
  },
  onLoad(value) {
    this.text = value.text;
  }
};
</script>

<style lang="less"></style>
